#!/user/bin/env python3
# -*- coding: utf-8 -*-
from PIL import Image

# 1.加载图片
img1 = Image.open('../files/logo.png')

# 2.上下镜像(FLIP_TOP_BOTTOM)
img1.transpose(Image.FLIP_TOP_BOTTOM).show()

# 3.左右镜像(FLIP_LEFT_RIGHT)
img1.transpose(Image.FLIP_LEFT_RIGHT).show()